package com.jsonal.mapper.manager;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jsonal.entity.manager.UserManager;
import com.jsonal.entity.manager.UserManagerBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @Author: jingji.lin
 * @Description:
 * @Date: 2020/4/13 16:09
 * @Version: 1.0
 */
@Mapper
@Component(value = "managerUserMapper")
public interface ManagerUserMapper extends BaseMapper<UserManager> {

    /**
     * 根据用户名查询数据
     * @param username
     * @return
     */
    UserManagerBean selectUserByUserName(@Param("username") String username);
}
